package zh.codegym.task.task04.task0416;

/* 
蒙眼过马路
*/

import java.io.*;
import java.util.Scanner;

public class Solution {
    public static void main(String[] args) throws Exception {
        //在此编写你的代码
        Scanner scanner = new Scanner(System.in);
        double t = scanner.nextDouble();
        t %= 5.0;
        if(t < 3.0){
            System.out.println("绿色");
        }else
        if(t < 4.0){
            System.out.println("黄色");
        }else
        if(t < 5.0){
            System.out.println("红色");
        }
    }
}